#ifndef __COPY_MANAGER_H__
#define __COPY_MANAGER_H__

struct CopyCSVInfo
{
	Int32			id;
	Int32			type;
	Int32			task_id;
	Int32			image_id;
	std::string		name;
	std::string		description;
	std::string		reward_items;

	CopyCSVInfo()
	{
		id = 0;
		type = 0;
		task_id = 0;
		image_id = 0;
		name = "";
		description = "";
		reward_items = "";
	}
};
class CopyManager:public singleton<CopyManager>
{
public:
	CopyManager();
	virtual ~CopyManager();
	void loadCopyCSV();
	CopyCSVInfo* GetCopyCSVInfo(Int32 csv_id);
private:
	CSVReader m_csvReader;
	std::map<Int32,CopyCSVInfo> m_mapCopyCSV;
};
#endif
